﻿@model SchoolCommunicationSystem.Models.ClassToSMS
@{
    ViewBag.Title = "Index";
}

        <table>
            <thead>
                <tr>
                    <th>Tên lớp</th>
                    <th>Action</th>
                </tr>
            </thead>
            <tbody>
                @foreach (var item in Model.AllClass)
                {
                    <tr>
                        <td>@item.className</td>
                        <td>
                            @Html.ActionLink("Send SMS", "SendSMS", new { id = item.classID }, new { @class = "editDialog"/*, data_dialog_id = "edit-Dialog"*/ })
                        </td>
                    </tr>
                }
            </tbody>
        </table>